package com.yaowk.sfp.common.base.model.query;

import lombok.Data;

@Data
public class KeywordQuery {
    private String keyword1;
    private String keyword2;
    private String keyword3;
    private String keyword4;
    private String keyword5;

    public String getPreKeyword1() {
        return "%" + keyword1;
    }

    public String getSufKeyword1() {
        return keyword1 + "%";
    }

    public String getBothKeyword1() {
        return "%" + keyword1 + "%";
    }

    public String getPreKeyword2() {
        return "%" + keyword2;
    }

    public String getSufKeyword2() {
        return keyword2 + "%";
    }

    public String getBothKeyword2() {
        return "%" + keyword2 + "%";
    }

    public String getPreKeyword3() {
        return "%" + keyword3;
    }

    public String getSufKeyword3() {
        return keyword3 + "%";
    }

    public String getBothKeyword3() {
        return "%" + keyword3 + "%";
    }

    public String getPreKeyword4() {
        return "%" + keyword4;
    }

    public String getSufKeyword4() {
        return keyword4 + "%";
    }

    public String getBothKeyword4() {
        return "%" + keyword4 + "%";
    }

    public String getPreKeyword5() {
        return "%" + keyword5;
    }

    public String getSufKeyword5() {
        return keyword5 + "%";
    }

    public String getBothKeyword5() {
        return "%" + keyword5 + "%";
    }
}
